package com.traffic.action;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;

import com.opensymphony.xwork2.ActionSupport;

@Controller
@Scope("prototype")
@SuppressWarnings("serial")
public class HomeAction extends ActionSupport{
    /**
     * 主页
     * @return
     * @throws Exception
     */
    public String show() throws Exception {
    	return "index";
    }
    /**
     * 成功绑定
     * @return
     * @throws Exception
     */
    public String success() throws Exception {
    	return "success";
    }
}
